package com.powergisol.gis.dao;

import com.powergisol.gis.model.RoleModel;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Description
 * @Author yx
 * @Date 2019/7/30 17:36
 **/
public interface RoleDao extends JpaRepository<RoleModel, Long> {

    /**
     * 获取角色根据角色id
     * @param id
     * @return
     */
    RoleModel findById(long id);
}
